package com.example.ssm.mapper;

import com.example.ssm.pojo.BaseDict;
import com.example.ssm.pojo.BaseDictExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseDictMapper {
    long countByExample(BaseDictExample example);

    int deleteByExample(BaseDictExample example);

    int deleteByPrimaryKey(String dictId);

    int insert(BaseDict row);

    int insertSelective(BaseDict row);

    List<BaseDict> selectByExample(BaseDictExample example);

    BaseDict selectByPrimaryKey(String dictId);

    int updateByExampleSelective(@Param("row") BaseDict row, @Param("example") BaseDictExample example);

    int updateByExample(@Param("row") BaseDict row, @Param("example") BaseDictExample example);

    int updateByPrimaryKeySelective(BaseDict row);

    int updateByPrimaryKey(BaseDict row);

    List<BaseDict> selectByDictTypeCode(String dictTypeCode);
}